#ifndef UTILS_H
#define UTILS_H

#include <stdbool.h>
#include <stdio.h>

#include <SDL2/SDL.h>
#include <SDL2/SDL2_framerate.h>
#include <SDL2/SDL_image.h>

/// Define MAX and MIN macros
/// @note: noly for this project use
#define THIS_MAX(X, Y) (((X) > (Y)) ? (X) : (Y))
#define THIS_MIN(X, Y) (((X) < (Y)) ? (X) : (Y))

typedef enum Direction {
  DIRECTION_STOP = 0x0,
  DIRECTION_UP = 0x1,
  DIRECTION_DOWN = 0x2,
  DIRECTION_RIGHT = 0x4,
  DIRECTION_LEFT = 0x8
} Direction;

#endif // header file protect